"""
路由模块
"""

from fastapi import APIRouter

from .agent import router as agent_router
from .audio import router as audio_router
from .base import router as base_router
from .chat import router as chat_router
from .dialog import router as dialog_router
from .mcp import router as mcp_router
from .memory import router as memory_router
from .navigation import router as navigation_router
from .rag import router as rag_router
from .scene import router as scene_router
from .tools import router as tools_router

# 创建主路由
api_router = APIRouter()

# 注册子路由
api_router.include_router(base_router, prefix="/base", tags=["基础信息"])
api_router.include_router(scene_router, prefix="/scene", tags=["场景管理"])
api_router.include_router(agent_router, prefix="/agent", tags=["智能体管理"])
api_router.include_router(audio_router, prefix="/audio", tags=["音频处理"])
api_router.include_router(memory_router, prefix="/memory", tags=["记忆管理"])
api_router.include_router(rag_router, prefix="/rag", tags=["RAG管理"])
api_router.include_router(chat_router, prefix="/chat", tags=["对话管理"])
api_router.include_router(dialog_router, prefix="/dialog", tags=["AI助手管理"])
api_router.include_router(tools_router, prefix="/tools", tags=["工具管理"])
api_router.include_router(mcp_router, prefix="/mcp", tags=["MCP管理"])
api_router.include_router(navigation_router, prefix="/navigation", tags=["导航RAG管理"])

router = APIRouter(prefix="/api", tags=[])

__all__ = ["api_router"]
